﻿<Window x:Class="YLServerInterface.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Hello" Height="426" Width="487" WindowStartupLocation="CenterScreen">
    <Grid>

        <DockPanel >
            <Menu DockPanel.Dock="Top"  Name="menu1" VerticalContentAlignment="Top" Height="22" VerticalAlignment="Top" >
                <MenuItem Header="菜单" >
                    <MenuItem Header="设置环境" Name="menuItemEnvSetting" Click="menuItemEnvSetting_Click"/>
                </MenuItem>
                <MenuItem Header="配置模板" Click="MenuItem_Click" />
                <MenuItem Header="下载" />
                <MenuItem Header="查找" />
                <MenuItem Header="退出" HorizontalAlignment="Right" />
            </Menu>
            <StatusBar DockPanel.Dock="Bottom" Height="23" Name="statusBar1" Width="Auto" VerticalAlignment="Bottom" />
            <Frame x:Name="frame" Source="NavigateWindows/MainPage.xaml" NavigationUIVisibility="Visible"></Frame>
        </DockPanel>
    </Grid>
</Window>
